A

B

C

D

A = Intersect(xAxis, yAxis)
B = Point(xAxis)
poly1, f, g, h, C = Polygon(A, B, 3)
D = Point(xAxis)
poly2, i, j, k, E = Polygon(B, D, 3)
poly3, l, m, n, F = Polygon(C, E, 3)
sum12: poly1 + poly2
t1, e, c, b = Polygon(C, B, E)
sum34: poly3 + t1
text1: "A+B=" + (LaTeX[poly1]) + "+" + (LaTeX[poly2]) + "=" + (LaTeX[sum12]) + ""
text2: "C+D=" + (LaTeX[poly3]) + "+" + (LaTeX[t1]) + "=" + (LaTeX[sum34]) + ""